package com.stxx.stiot2.domain;

import com.stxx.framwork.annotation.Id;
import com.stxx.framwork.annotation.Transient;
import com.stxx.framwork.tran.TranBean;
import lombok.Data;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

@Data
public class Device implements Serializable, TranBean {
    @Id
    private Long deviceId;
    private String name;
    private String category;
    private String assetTypeId;
    private String remark;
    //private List<String> terminals;
    @Transient
    private List<Terminal> terminalList;
    @Transient
    private Map<String,Object> tran;
}
